package tankWar;

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class singlePanel extends JPanel implements KeyListener, MouseListener, ActionListener {
    public singlePanel(){

    }

    public void init(){

    }

    @Override
    protected void paintComponent(Graphics g){
        super.paintComponent(g);//清屏

        //绘制初始界面
        this.setBackground(new Color(29, 29, 29));
        data.aim.paintIcon(this,g,150,160);
    }

    @Override
    public void actionPerformed(ActionEvent e) {

    }

    @Override
    public void keyTyped(KeyEvent e) {

    }

    @Override
    public void keyPressed(KeyEvent e) {

    }

    @Override
    public void keyReleased(KeyEvent e) {

    }

    @Override
    public void mouseClicked(MouseEvent e) {

    }

    @Override
    public void mousePressed(MouseEvent e) {

    }

    @Override
    public void mouseReleased(MouseEvent e) {

    }

    @Override
    public void mouseEntered(MouseEvent e) {

    }

    @Override
    public void mouseExited(MouseEvent e) {

    }
}
